package com.chenxbook.modules.boot.exception;

/**
 * Description
 * <br>  自定义项目全局异常类
 *
 * @author dongdongchen
 * @date 2020-02-28
 **/
public class GlobalException extends BaseException {

    public GlobalException(IResponse iResponse) {
        this(iResponse, iResponse.getMessage());
    }

    public GlobalException(IResponse iResponse, String message) {
        super(iResponse, message);
    }

    public GlobalException(IResponse iResponse, String message, Throwable cause) {
        super(iResponse, message, cause);
    }
}
